import loading from './loading.js'

const install = function(Vue){
	Vue.directive('ipc-loading',loading)
}

if(window.Vue) {
	window['ipc-loading'] = loading;
	Vue.use(install);
}

loading.install = install;
export default loading;